﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ParsecParser
{
    [Serializable]
    public class CombatLogEntity
    {
        public string DisplayName { get; set; }
        public long EntityId { get; set; }
        public CombatLogEntity()
        {
        }
        public CombatLogEntity(string name, long id)
        {
            DisplayName = name;
            EntityId = id;
        }
        public override string ToString()
        {
            if (!string.IsNullOrEmpty(DisplayName + EntityId.ToString()))
                return DisplayName + " (" + EntityId.ToString() + ")";
            else
                return "";
        }
        public const string EmptyEntityName = "Unknown";
    }
}
